package com.ruoyi.mocha.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易对信息对象 mocha_symbol
 * 
 * @author ruoyi
 * @date 2021-04-23
 */
public class MochaSymbol extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    private Long symbolId;

    /** 交易对名称 */
    @Excel(name = "交易对名称")
    private String symbol;

    /** 价格精度 */
    @Excel(name = "价格精度")
    private Long priceScale;

    /** 数量精度 */
    @Excel(name = "数量精度")
    private Long quantityScale;

    /** 最小交易金额 */
    @Excel(name = "最小交易金额")
    private String minAmount;

    /** 最大交易金额 */
    @Excel(name = "最大交易金额")
    private String maxAmount;

    /** Maker费率 */
    @Excel(name = "Maker费率")
    private String makerFeeRate;

    /** Taker费率 */
    @Excel(name = "Taker费率")
    private String takerFeeRate;

    /** 交易对状态，当前是否可以进行交易 */
    @Excel(name = "交易对状态，当前是否可以进行交易")
    private String state;

    /** Etf标识，0代表不是ETF，正负整数代表是ETF */
    @Excel(name = "Etf标识，0代表不是ETF，正负整数代表是ETF")
    private Long etfMark;

    public void setSymbolId(Long symbolId) 
    {
        this.symbolId = symbolId;
    }

    public Long getSymbolId() 
    {
        return symbolId;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setPriceScale(Long priceScale) 
    {
        this.priceScale = priceScale;
    }

    public Long getPriceScale() 
    {
        return priceScale;
    }
    public void setQuantityScale(Long quantityScale) 
    {
        this.quantityScale = quantityScale;
    }

    public Long getQuantityScale() 
    {
        return quantityScale;
    }
    public void setMinAmount(String minAmount) 
    {
        this.minAmount = minAmount;
    }

    public String getMinAmount() 
    {
        return minAmount;
    }
    public void setMaxAmount(String maxAmount) 
    {
        this.maxAmount = maxAmount;
    }

    public String getMaxAmount() 
    {
        return maxAmount;
    }
    public void setMakerFeeRate(String makerFeeRate) 
    {
        this.makerFeeRate = makerFeeRate;
    }

    public String getMakerFeeRate() 
    {
        return makerFeeRate;
    }
    public void setTakerFeeRate(String takerFeeRate) 
    {
        this.takerFeeRate = takerFeeRate;
    }

    public String getTakerFeeRate() 
    {
        return takerFeeRate;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setEtfMark(Long etfMark) 
    {
        this.etfMark = etfMark;
    }

    public Long getEtfMark() 
    {
        return etfMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("symbolId", getSymbolId())
            .append("symbol", getSymbol())
            .append("priceScale", getPriceScale())
            .append("quantityScale", getQuantityScale())
            .append("minAmount", getMinAmount())
            .append("maxAmount", getMaxAmount())
            .append("makerFeeRate", getMakerFeeRate())
            .append("takerFeeRate", getTakerFeeRate())
            .append("state", getState())
            .append("etfMark", getEtfMark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
